package com.woniuxy.store.core.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Auther: fulang  <br/>
 * Date: 2021/7/7:16:43  <br/>
 * Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderItemVo implements Serializable {
    private Integer id;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "订单类型")
    private Integer ordertype;

    @ApiModelProperty(value = "商品图片")
    private String img;

    @ApiModelProperty(value = "商品名")
    private String name;

    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    @ApiModelProperty(value = "售价")
    private BigDecimal sellPrice;

    @ApiModelProperty(value = "规格")
    private String size;

    @ApiModelProperty(value = "服务一级id,0是商品，其它都是服务")
    private Integer firstId;

    @ApiModelProperty(value = "订单编号")
    private String ordernumber;

    @ApiModelProperty(value = "创建时间")
    private Date createtime;

    @ApiModelProperty(value = "订单状态")
    private Integer status;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    private String ordertypech;
    private String firstIdch;
    private String statusch;
}
